200
How can I align the column to the right
(axG2antt1.Columns.Add("Column") as EXG2ANTTLib.Column).Alignment = EXG2ANTTLib.AlignmentEnum.RightAlignment;
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

199
How do I change the column's caption
(axG2antt1.Columns.Add("Column") as EXG2ANTTLib.Column).Caption = "new caption";

198
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it
axG2antt1.set_FormatAnchor(false,"<b><u><fgcolor=880000> </fgcolor></u></b>");
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValueFormat(var_Items.AddItem("Just an <a1>anchor</a> element ..."),0,EXG2ANTTLib.ValueFormatEnum.exHTML);
EXG2ANTTLib.Items var_Items1 = axG2antt1.Items;
	var_Items1.set_CellValueFormat(var_Items1.AddItem("Just another <a2>anchor</a> element ..."),0,EXG2ANTTLib.ValueFormatEnum.exHTML);
axG2antt1.Items.AddItem("next item");

197
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions
axG2antt1.set_FormatAnchor(true,"<b><u><fgcolor=FF0000> </fgcolor></u></b>");
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValueFormat(var_Items.AddItem("Just an <a1>anchor</a> element ..."),0,EXG2ANTTLib.ValueFormatEnum.exHTML);
EXG2ANTTLib.Items var_Items1 = axG2antt1.Items;
	var_Items1.set_CellValueFormat(var_Items1.AddItem("Just another <a2>anchor</a> element ..."),0,EXG2ANTTLib.ValueFormatEnum.exHTML);

196
Can I change the font for the tooltip
axG2antt1.ToolTipDelay = 1;
axG2antt1.ToolTipWidth = 364;
(axG2antt1.Columns.Add("tootip") as EXG2ANTTLib.Column).ToolTip = "<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>";

195
Can I change the font for the tooltip
axG2antt1.ToolTipDelay = 1;
stdole.IFontDisp var_StdFont = axG2antt1.ToolTipFont;
	var_StdFont.Name = "Tahoma";
	var_StdFont.Size = 14;
axG2antt1.ToolTipWidth = 364;
(axG2antt1.Columns.Add("tootip") as EXG2ANTTLib.Column).ToolTip = "this is a tooltip assigned to a column";

194
Can I change the order of the buttons in the scroll bar
axG2antt1.set_ScrollOrderParts(EXG2ANTTLib.ScrollBarEnum.exHScroll,"t,l,r");
axG2antt1.set_ScrollOrderParts(EXG2ANTTLib.ScrollBarEnum.exVScroll,"t,l,r");
axG2antt1.ScrollBars = EXG2ANTTLib.ScrollBarsEnum.exDisableBoth;

193
The thumb size seems to be very small. Can I make it bigger
axG2antt1.ColumnAutoResize = false;
(axG2antt1.Columns.Add("C1") as EXG2ANTTLib.Column).Width = 256;
(axG2antt1.Columns.Add("C2") as EXG2ANTTLib.Column).Width = 256;
(axG2antt1.Columns.Add("C3") as EXG2ANTTLib.Column).Width = 256;
axG2antt1.set_ScrollThumbSize(EXG2ANTTLib.ScrollBarEnum.exHScroll,64);

192
How can I display my text on the scroll bar, using a different font
axG2antt1.set_ScrollPartCaption(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exThumbPart,"This is <s><font Tahoma;12> just </font></s> text");
axG2antt1.ColumnAutoResize = false;
axG2antt1.ScrollHeight = 20;
(axG2antt1.Columns.Add("C1") as EXG2ANTTLib.Column).Width = 256;
(axG2antt1.Columns.Add("C2") as EXG2ANTTLib.Column).Width = 256;
(axG2antt1.Columns.Add("C3") as EXG2ANTTLib.Column).Width = 256;

191
How can I display my text on the scroll bar, using a different font
axG2antt1.set_ScrollPartCaption(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exThumbPart,"This is just a text");
axG2antt1.get_ScrollFont(EXG2ANTTLib.ScrollBarEnum.exHScroll).Size = 12;
axG2antt1.ColumnAutoResize = false;
axG2antt1.ScrollHeight = 20;
(axG2antt1.Columns.Add("C1") as EXG2ANTTLib.Column).Width = 256;
(axG2antt1.Columns.Add("C2") as EXG2ANTTLib.Column).Width = 256;
(axG2antt1.Columns.Add("C3") as EXG2ANTTLib.Column).Width = 256;

190
How can I display my text on the scroll bar
axG2antt1.set_ScrollPartCaption(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exThumbPart,"this is just a text");
axG2antt1.ColumnAutoResize = false;
(axG2antt1.Columns.Add("C1") as EXG2ANTTLib.Column).Width = 256;
(axG2antt1.Columns.Add("C2") as EXG2ANTTLib.Column).Width = 256;
(axG2antt1.Columns.Add("C3") as EXG2ANTTLib.Column).Width = 256;

189
How do I enlarge or change the size of the control's scrollbars
axG2antt1.ScrollHeight = 18;
axG2antt1.ScrollWidth = 18;
axG2antt1.ScrollButtonWidth = 18;
axG2antt1.ScrollButtonHeight = 18;
axG2antt1.ScrollBars = EXG2ANTTLib.ScrollBarsEnum.exDisableBoth;

188
How do I assign a tooltip to a scrollbar
axG2antt1.set_ScrollToolTip(EXG2ANTTLib.ScrollBarEnum.exHScroll,"This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar");
axG2antt1.ColumnAutoResize = false;
(axG2antt1.Columns.Add("C1") as EXG2ANTTLib.Column).Width = 256;
(axG2antt1.Columns.Add("C2") as EXG2ANTTLib.Column).Width = 256;
(axG2antt1.Columns.Add("C3") as EXG2ANTTLib.Column).Width = 256;

187
How do I assign an icon to the button in the scrollbar
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axG2antt1.set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exLeftB1Part,true);
axG2antt1.set_ScrollPartCaption(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exLeftB1Part,"<img>1</img>");
axG2antt1.ScrollHeight = 18;
axG2antt1.ScrollButtonWidth = 18;
axG2antt1.ScrollBars = EXG2ANTTLib.ScrollBarsEnum.exDisableNoHorizontal;

186
I need to add a button in the scroll bar. Is this possible
axG2antt1.set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exLeftB1Part,true);
axG2antt1.set_ScrollPartCaption(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exLeftB1Part,"1");
axG2antt1.ScrollBars = EXG2ANTTLib.ScrollBarsEnum.exDisableNoHorizontal;

185
Can I display an additional buttons in the scroll bar
axG2antt1.set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exLeftB1Part,true);
axG2antt1.set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exLeftB2Part,true);
axG2antt1.set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exRightB6Part,true);
axG2antt1.set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exRightB5Part,true);
axG2antt1.ScrollBars = EXG2ANTTLib.ScrollBarsEnum.exDisableNoHorizontal;

184
Can I display the picture aligned to the right, while the text aligned to the left
axG2antt1.DefaultItemHeight = 48;
axG2antt1.Columns.Add("C1");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	object s = var_Items.get_SplitCell(var_Items.AddItem("Text"),0);
	var_Items.set_CellPicture(null,s,(axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp));
	var_Items.set_CellHAlignment(null,s,EXG2ANTTLib.AlignmentEnum.RightAlignment);

183
How can I display a custom size picture to a cell or item
axG2antt1.DefaultItemHeight = 48;
axG2antt1.Columns.Add("C1");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellPicture(var_Items.AddItem("Text"),0,(axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp));

182
How can I display a multiple pictures to a cell or item
axG2antt1.DefaultItemHeight = 48;
axG2antt1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
axG2antt1.set_HTMLPicture("pic2","c:\\exontrol\\images\\auction.gif");
axG2antt1.Columns.Add("C1");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValueFormat(var_Items.AddItem("<img>pic1</img> Text <img>pic2</img> another text ..."),0,EXG2ANTTLib.ValueFormatEnum.exHTML);

181
How do I change the column's foreground color for numbers between an interval - Range
EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = axG2antt1.ConditionalFormats.Add("dbl(%0) >= 2 and dbl(%0) <= 10",null);
	var_ConditionalFormat.Bold = true;
	var_ConditionalFormat.ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
	var_ConditionalFormat.ApplyTo = (EXG2ANTTLib.FormatApplyToEnum)0x1;
axG2antt1.Columns.Add("N1");
axG2antt1.Columns.Add("N2");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(1),1,2);
EXG2ANTTLib.Items var_Items1 = axG2antt1.Items;
	var_Items1.set_CellValue(var_Items1.AddItem(3),1,3);
EXG2ANTTLib.Items var_Items2 = axG2antt1.Items;
	var_Items2.set_CellValue(var_Items2.AddItem(10),1,11);
EXG2ANTTLib.Items var_Items3 = axG2antt1.Items;
	var_Items3.set_CellValue(var_Items3.AddItem(13),1,31);
axG2antt1.SearchColumnIndex = 1;

180
How do I change the item's foreground color for numbers between an interval - Range
axG2antt1.ConditionalFormats.Add("dbl(%0) >= 2 and dbl(%0) <= 10",null).ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
axG2antt1.Columns.Add("Numbers");
axG2antt1.Items.AddItem(1);
axG2antt1.Items.AddItem(2);
axG2antt1.Items.AddItem(10);
axG2antt1.Items.AddItem(20);

179
How do I change the item's background color for numbers less than a value
axG2antt1.ConditionalFormats.Add("dbl(%0) < 10",null).BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
axG2antt1.Columns.Add("Numbers");
axG2antt1.Items.AddItem(1);
axG2antt1.Items.AddItem(2);
axG2antt1.Items.AddItem(10);
axG2antt1.Items.AddItem(20);

178
How do I underline the numbers greater than a value
axG2antt1.ConditionalFormats.Add("dbl(%0) >= 10",null).Underline = true;
axG2antt1.Columns.Add("Numbers");
axG2antt1.Items.AddItem(1);
axG2antt1.Items.AddItem(2);
axG2antt1.Items.AddItem(10);
axG2antt1.Items.AddItem(20);

177
How do I highlight in italic the numbers greater than a value
axG2antt1.ConditionalFormats.Add("dbl(%0) >= 10",null).StrikeOut = true;
axG2antt1.Columns.Add("Numbers");
axG2antt1.Items.AddItem(1);
axG2antt1.Items.AddItem(2);
axG2antt1.Items.AddItem(10);
axG2antt1.Items.AddItem(20);

176
How do I highlight in italic the numbers greater than a value
axG2antt1.ConditionalFormats.Add("dbl(%0) >= 10",null).Italic = true;
axG2antt1.Columns.Add("Numbers");
axG2antt1.Items.AddItem(1);
axG2antt1.Items.AddItem(2);
axG2antt1.Items.AddItem(10);
axG2antt1.Items.AddItem(20);

175
How do I highlight in bold the numbers greater than a value
axG2antt1.ConditionalFormats.Add("dbl(%0) >= 10",null).Bold = true;
axG2antt1.Columns.Add("Numbers");
axG2antt1.Items.AddItem(1);
axG2antt1.Items.AddItem(2);
axG2antt1.Items.AddItem(10);
axG2antt1.Items.AddItem(20);

174
Can I use your EBN files to change the visual appearance for +/- expand - collapse buttons

axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axG2antt1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exGroupLinesAtRoot;
axG2antt1.HasButtons = EXG2ANTTLib.ExpandButtonEnum.exCustom;
axG2antt1.set_HasButtonsCustom(false,16777216);
axG2antt1.set_HasButtonsCustom(true,33554432);
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child");

173
Can I use your EBN files to change the visual appearance for radio buttons

axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axG2antt1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axG2antt1.set_RadioImage(false,16777216);
axG2antt1.set_RadioImage(true,33554432);
(axG2antt1.Columns.Add("Radio") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasRadioButton,true);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Radio 1");
	var_Items.set_CellState(var_Items.AddItem("Radio 2"),0,1);
	var_Items.AddItem("Radio 3");

172
Can I use your EBN files to change the visual appearance for checkbox cells

axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axG2antt1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axG2antt1.set_CheckImage(EXG2ANTTLib.CheckStateEnum.Unchecked,16777216);
axG2antt1.set_CheckImage(EXG2ANTTLib.CheckStateEnum.Checked,33554432);
(axG2antt1.Columns.Add("Check") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Check 1");
	var_Items.set_CellState(var_Items.AddItem("Check 2"),0,1);

171
How do I change the visual aspect for thumb parts in the scroll bars, using EBN
axG2antt1.BeginUpdate();
EXG2ANTTLib.Appearance var_Appearance = axG2antt1.VisualAppearance;
	var_Appearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
	var_Appearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
	var_Appearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exHSThumb,0x1000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exHSThumbP,0x2000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exHSThumbH,0x3000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exVSThumb,0x1000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exVSThumbP,0x2000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exVSThumbH,0x3000000);
axG2antt1.ScrollBars = EXG2ANTTLib.ScrollBarsEnum.exVScrollEmptySpace | EXG2ANTTLib.ScrollBarsEnum.exHScrollEmptySpace | EXG2ANTTLib.ScrollBarsEnum.exVScrollOnThumbRelease | EXG2ANTTLib.ScrollBarsEnum.exHScrollOnThumbRelease | EXG2ANTTLib.ScrollBarsEnum.exDisableBoth;
axG2antt1.ScrollBySingleLine = true;
axG2antt1.Columns.Add("Def");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem(1);
	var_Items.AddItem(2);
	var_Items.AddItem(3);
axG2antt1.EndUpdate();

170
How do I change the visual aspect only for the thumb in the scroll bar, using EBN
axG2antt1.BeginUpdate();
EXG2ANTTLib.Appearance var_Appearance = axG2antt1.VisualAppearance;
	var_Appearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
	var_Appearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
	var_Appearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exHSThumb,0x1000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exHSThumbP,0x2000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exHSThumbH,0x3000000);
axG2antt1.ScrollBars = EXG2ANTTLib.ScrollBarsEnum.exVScrollEmptySpace | EXG2ANTTLib.ScrollBarsEnum.exHScrollEmptySpace | EXG2ANTTLib.ScrollBarsEnum.exVScrollOnThumbRelease | EXG2ANTTLib.ScrollBarsEnum.exHScrollOnThumbRelease | EXG2ANTTLib.ScrollBarsEnum.exDisableBoth;
axG2antt1.ScrollBySingleLine = true;
axG2antt1.Columns.Add("Def");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem(1);
	var_Items.AddItem(2);
	var_Items.AddItem(3);
axG2antt1.EndUpdate();

169
I've seen that you can change the visual appearance for the scroll bar. How can I do that

axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axG2antt1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axG2antt1.VisualAppearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exSBtn,0x1000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exSBtnP,0x2000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exSBtnH,0x3000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exHSBack,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240)));
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exVSBack,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240)));
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exScrollSizeGrip,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240)));
(axG2antt1.Columns.Add("S") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("Level 1") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("Level 2") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("Level 3") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("E1") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("E2") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("E3") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("E4") as EXG2ANTTLib.Column).Width = 32;
axG2antt1.ColumnAutoResize = false;
axG2antt1.ScrollBars = EXG2ANTTLib.ScrollBarsEnum.exDisableBoth;

168
Is there any option to highligth the column from the cursor - point

axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exCursorHoverColumn,0x1000000);
(axG2antt1.Columns.Add("S") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("Level 1") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("Level 2") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("Level 3") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("E1") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("E2") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("E3") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("E4") as EXG2ANTTLib.Column).Width = 32;

167
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exSelBackColorFilter,0x1000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exSelForeColorFilter,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,20,20)));
(axG2antt1.Columns.Add("Filter") as EXG2ANTTLib.Column).DisplayFilterButton = true;

166
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axG2antt1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exDateHeader,0x1000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exDateTodayUp,0x1000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exDateTodayDown,0x2000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exDateScrollThumb,0x1000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exDateScrollRange,(uint)ColorTranslator.ToWin32(Color.FromArgb(230,230,230)));
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exDateSeparatorBar,(uint)ColorTranslator.ToWin32(Color.FromArgb(230,230,230)));
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exDateSelect,0x1000000);
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column);
	var_Column.FilterType = EXG2ANTTLib.FilterTypeEnum.exDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterDate = true;

165
How do I change the visual aspect of the close button in the filter bar, using EBN

axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exFooterFilterBarButton,0x1000000);
(axG2antt1.Columns.Add("Filter") as EXG2ANTTLib.Column).FilterType = EXG2ANTTLib.FilterTypeEnum.exBlanks;
axG2antt1.ApplyFilter();

164
How do I change the visual aspect of buttons in the cell, using EBN

axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axG2antt1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exCellButtonUp,0x1000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exCellButtonDown,0x2000000);
axG2antt1.SelForeColor = Color.FromArgb(0,0,0);
axG2antt1.ShowFocusRect = false;
(axG2antt1.Columns.Add("Column 1") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasButton,true);
axG2antt1.Items.AddItem("Button 1");
axG2antt1.Items.AddItem("Button 2");
axG2antt1.Columns.Add("Column 2");

163
How do I change the visual aspect of the drop down filter button, using EBN

axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exHeaderFilterBarButton,0x1000000);
(axG2antt1.Columns.Add("Filter") as EXG2ANTTLib.Column).DisplayFilterButton = true;

162
How do I enable resizing the columns at runtime
axG2antt1.ColumnsAllowSizing = true;
axG2antt1.MarkSearchColumn = false;
axG2antt1.HeaderVisible = EXG2ANTTLib.HeaderVisibleEnum.exHeaderHidden;
axG2antt1.Columns.Add("Column 1");
axG2antt1.Columns.Add("Column 2");
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exVLines;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item 1"),1,"Sub Item 1");
EXG2ANTTLib.Items var_Items1 = axG2antt1.Items;
	var_Items1.set_CellValue(var_Items1.AddItem("Item 2"),1,"Sub Item 2");

161
How can I select the second inner column when spliting the cells
axG2antt1.SelectColumnInner = 1;
axG2antt1.FullRowSelect = EXG2ANTTLib.CellSelectEnum.exColumnSel;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(null,var_Items.get_SplitCell(var_Items.AddItem("Split Cell 1.1"),0),"Split Cell 2.1");
	var_Items.set_CellValue(null,var_Items.get_SplitCell(var_Items.AddItem("Split Cell 1.2"),0),"Split Cell 2.2");
	var_Items.set_SelectItem(var_Items.FirstVisibleItem,true);

160
How can I sort by multiple columns

axG2antt1.SingleSort = false;
(axG2antt1.Columns.Add("C1") as EXG2ANTTLib.Column).SortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;
(axG2antt1.Columns.Add("C2") as EXG2ANTTLib.Column).SortOrder = EXG2ANTTLib.SortOrderEnum.SortDescending;
(axG2antt1.Columns.Add("C3") as EXG2ANTTLib.Column).SortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;

159
How can I add several columns to control's sort bar
axG2antt1.SortBarVisible = true;
axG2antt1.SortBarColumnWidth = 48;
(axG2antt1.Columns.Add("C1") as EXG2ANTTLib.Column).SortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;
(axG2antt1.Columns.Add("C2") as EXG2ANTTLib.Column).SortOrder = EXG2ANTTLib.SortOrderEnum.SortDescending;

158
How can I change the width of the columns being displayed in the sort bar
axG2antt1.SortBarVisible = true;
axG2antt1.SortBarColumnWidth = 48;
(axG2antt1.Columns.Add("C1") as EXG2ANTTLib.Column).SortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;
(axG2antt1.Columns.Add("C2") as EXG2ANTTLib.Column).SortOrder = EXG2ANTTLib.SortOrderEnum.SortDescending;

157
How can I change the height of the sort bar's
axG2antt1.SortBarVisible = true;
axG2antt1.SortBarHeight = 48;

156
How can I change the sort bar's foreground color
axG2antt1.SortBarVisible = true;
axG2antt1.ForeColorSortBar = Color.FromArgb(255,0,0);

155
How can I change the visual appearance of the control's sort bar, using EBN files

axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axG2antt1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axG2antt1.SortBarVisible = true;
(axG2antt1.GetOcx() as EXG2ANTTLib.G2antt).BackColorSortBar = 0x1000000;
(axG2antt1.GetOcx() as EXG2ANTTLib.G2antt).BackColorSortBarCaption = 0x2000000;
axG2antt1.Appearance = EXG2ANTTLib.AppearanceEnum.None2;

154
How can I change the sort bar's background color
axG2antt1.SortBarVisible = true;
axG2antt1.BackColorSortBar = Color.FromArgb(255,0,0);
axG2antt1.BackColorSortBarCaption = Color.FromArgb(128,0,0);

153
How can I change the default caption being displayed in the control's sort bar
axG2antt1.SortBarVisible = true;
axG2antt1.SortBarCaption = "new caption";

152
How can I show the locked / fixed items on the bottom side of the control
axG2antt1.ShowLockedItems = true;
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_LockedItemCount(EXG2ANTTLib.VAlignmentEnum.exMiddle,2);
	var_Items.set_CellValue(var_Items.get_LockedItem(EXG2ANTTLib.VAlignmentEnum.exMiddle,0),0,"locked item 1");
	var_Items.set_CellValue(var_Items.get_LockedItem(EXG2ANTTLib.VAlignmentEnum.exMiddle,1),0,"locked item 2");
	var_Items.AddItem("un-locked item");

151
How can I show the locked / fixed items
axG2antt1.ShowLockedItems = true;
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_LockedItemCount(EXG2ANTTLib.VAlignmentEnum.exTop,2);
	var_Items.set_CellValue(var_Items.get_LockedItem(EXG2ANTTLib.VAlignmentEnum.exTop,0),0,"locked item 1");
	var_Items.set_CellValue(var_Items.get_LockedItem(EXG2ANTTLib.VAlignmentEnum.exTop,1),0,"locked item 2");
	var_Items.AddItem("un-locked item");

150
How can I hide the locked / fixed items
axG2antt1.ShowLockedItems = false;
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_LockedItemCount(EXG2ANTTLib.VAlignmentEnum.exTop,1);
	var_Items.set_CellValue(var_Items.get_LockedItem(EXG2ANTTLib.VAlignmentEnum.exTop,0),0,"locked item");
	var_Items.AddItem("un-locked item");

149
How can I show the control's sort bar
axG2antt1.SortBarVisible = true;

148
How can I stretch a picture on the control's header, when multiple levels are displayed, so it is not tiled
(axG2antt1.GetOcx() as EXG2ANTTLib.G2antt).PictureLevelHeader = (axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)") as stdole.IPictureDisp);
axG2antt1.PictureDisplayLevelHeader = EXG2ANTTLib.PictureDisplayEnum.Stretch;
(axG2antt1.Columns.Add("S") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("Level 1") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("Level 2") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("Level 3") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("E1") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("E2") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("E3") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("E4") as EXG2ANTTLib.Column).Width = 32;

147
How can I display a picture on the control's header, when multiple levels are displayed, so it is not tiled
(axG2antt1.GetOcx() as EXG2ANTTLib.G2antt).PictureLevelHeader = (axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)") as stdole.IPictureDisp);
axG2antt1.PictureDisplayLevelHeader = EXG2ANTTLib.PictureDisplayEnum.MiddleRight;
(axG2antt1.Columns.Add("S") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("Level 1") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("Level 2") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("Level 3") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("E") as EXG2ANTTLib.Column).Width = 32;

146
How can I display a picture on the control's header, when multiple levels are displayed

(axG2antt1.GetOcx() as EXG2ANTTLib.G2antt).PictureLevelHeader = (axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
(axG2antt1.Columns.Add("S") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("Level 1") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("Level 2") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("Level 3") as EXG2ANTTLib.Column).LevelKey = 1;

145
How can I change the header's background color, when multiple levels are displayed
axG2antt1.BackColorLevelHeader = Color.FromArgb(250,0,0);
(axG2antt1.Columns.Add("S") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("Level 1") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("Level 2") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("Level 3") as EXG2ANTTLib.Column).LevelKey = 1;

144
Can I programmatically scroll the control
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);
axG2antt1.Items.AddItem(2);
axG2antt1.Items.AddItem(3);
axG2antt1.PutItems(axG2antt1.GetItems(0),null);
axG2antt1.PutItems(axG2antt1.GetItems(0),null);
axG2antt1.set_ScrollPos(true,1);

143
How do I disable expanding or collapsing an item when user presses the arrow keys
axG2antt1.ExpandOnKeys = false;
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.Columns.Add("Column 1");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

142
How do I expand automatically the items while user types characters to searching for something ( incremental searching )
axG2antt1.ExpandOnSearch = true;
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.AutoSearch = true;
(axG2antt1.Columns.Add("Column") as EXG2ANTTLib.Column).AutoSearch = EXG2ANTTLib.AutoSearchEnum.exContains;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.InsertItem(var_Items.InsertItem(var_Items.AddItem("text"),null,"some text"),null,"another text");
	var_Items.InsertItem(var_Items.InsertItem(var_Items.AddItem("text"),null,"some text"),null,"another text");

141
Can I programmatically scroll the control
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);
axG2antt1.Items.AddItem(2);
axG2antt1.Items.AddItem(3);
axG2antt1.PutItems(axG2antt1.GetItems(0),null);
axG2antt1.PutItems(axG2antt1.GetItems(0),null);
axG2antt1.Scroll(EXG2ANTTLib.ScrollEnum.exScrollDown,null);

140
Do you have some function to load data from a safe array
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem(0);
axG2antt1.PutItems(axG2antt1.GetItems(0),null);

139
Do you have some function to retrieve all items to a safe array
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem(0);
axG2antt1.PutItems(axG2antt1.GetItems(0),null);
axG2antt1.Items.AddItem(1);
axG2antt1.PutItems(axG2antt1.GetItems(0),null);
axG2antt1.Items.AddItem(2);
axG2antt1.PutItems(axG2antt1.GetItems(0),null);
axG2antt1.Items.AddItem(3);

138
How can still display the selected items when the control loses the focus
axG2antt1.HideSelection = false;
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.set_SelectItem(var_Items.AddItem("Item 2"),true);

137
How can I hide a column
(axG2antt1.Columns.Add("Hidden") as EXG2ANTTLib.Column).Visible = false;
axG2antt1.Columns.Add("2");
axG2antt1.Columns.Add("3");
axG2antt1.Columns.Add("4");
axG2antt1.Columns.Add("5");

136
How can I ensure that a column is visible and fits the control's client area
axG2antt1.ColumnAutoResize = false;
(axG2antt1.Columns.Add("1") as EXG2ANTTLib.Column).Width = 128;
(axG2antt1.Columns.Add("2") as EXG2ANTTLib.Column).Width = 128;
(axG2antt1.Columns.Add("3") as EXG2ANTTLib.Column).Width = 128;
(axG2antt1.Columns.Add("4") as EXG2ANTTLib.Column).Width = 128;
(axG2antt1.Columns.Add("5") as EXG2ANTTLib.Column).Width = 128;
axG2antt1.EnsureVisibleColumn("5");

135
I've seen that the width of the tooltip is variable. Can I make it larger
axG2antt1.ToolTipWidth = 328;
(axG2antt1.Columns.Add("tootip") as EXG2ANTTLib.Column).ToolTip = "this is a tooltip that should be very very very very very very very long";

134
How do I disable showing the tooltip for all control
axG2antt1.ToolTipDelay = 0;
(axG2antt1.Columns.Add("tootip") as EXG2ANTTLib.Column).ToolTip = "this is a tooltip assigned to a column";

133
How do I let the tooltip being displayed longer
axG2antt1.ToolTipPopDelay = 10000;
(axG2antt1.Columns.Add("tootip") as EXG2ANTTLib.Column).ToolTip = "this is a tooltip assigned to a column";

132
How do I show the tooltip quicker
axG2antt1.ToolTipDelay = 1;
(axG2antt1.Columns.Add("tootip") as EXG2ANTTLib.Column).ToolTip = "this is a tooltip assigned to a column";

131
How do I change the caption being displayed in the control's filter bar

axG2antt1.FilterBarCaption = "your filter caption";
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Column") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = EXG2ANTTLib.FilterTypeEnum.exBlanks;
axG2antt1.ApplyFilter();

130
How do I disable expanding or collapsing an item when user double clicks it
axG2antt1.ExpandOnDblClick = false;
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.Indent = 13;
axG2antt1.Columns.Add("Column 1");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

129
How do I search case sensitive, using your incremental search feature
axG2antt1.AutoSearch = true;
axG2antt1.ASCIILower = "";
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("exStartWith") as EXG2ANTTLib.Column).AutoSearch = EXG2ANTTLib.AutoSearchEnum.exStartWith;
	(var_Columns.Add("exContains") as EXG2ANTTLib.Column).AutoSearch = EXG2ANTTLib.AutoSearchEnum.exContains;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("text"),1,"another text");
EXG2ANTTLib.Items var_Items1 = axG2antt1.Items;
	var_Items1.set_CellValue(var_Items1.AddItem("text"),1,"another text");

128
How do I disable the control
axG2antt1.Enabled = false;

127
How do I enable the incremental search feature within a column
axG2antt1.AutoSearch = true;
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("exStartWith") as EXG2ANTTLib.Column).AutoSearch = EXG2ANTTLib.AutoSearchEnum.exStartWith;
	(var_Columns.Add("exContains") as EXG2ANTTLib.Column).AutoSearch = EXG2ANTTLib.AutoSearchEnum.exContains;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("text"),1,"another text");
EXG2ANTTLib.Items var_Items1 = axG2antt1.Items;
	var_Items1.set_CellValue(var_Items1.AddItem("text"),1,"another text");

126
How do I call your x-script language
EXG2ANTTLib.Column var_Column = (axG2antt1.ExecuteTemplate("Columns.Add(`Column`)") as EXG2ANTTLib.Column);
	var_Column.HeaderStrikeOut = true;
	var_Column.HeaderBold = true;

125
How do I call your x-script language
axG2antt1.Template = "Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`";

124
How do I show alternate rows in different background color

axG2antt1.BackColorAlternate = Color.FromArgb(240,240,240);
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 4");
	var_Items.AddItem("Item 5");

123
How do I enlarge the drop down filter window
axG2antt1.FilterBarDropDownHeight = -320;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Column") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterBarDropDownWidth = -320;
axG2antt1.Items.AddItem("Item 1");
axG2antt1.Items.AddItem("Item 2");

122
How do I filter programmatically the control
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Column") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = EXG2ANTTLib.FilterTypeEnum.exPattern;
	var_Column.Filter = "Item*";
axG2antt1.Items.AddItem("Item 1");
axG2antt1.Items.AddItem("");
axG2antt1.Items.AddItem("Item 2");
axG2antt1.ApplyFilter();

121
How do I change the font of the control's filterbar
axG2antt1.FilterBarFont.Size = 20;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Column") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = EXG2ANTTLib.FilterTypeEnum.exBlanks;
axG2antt1.ApplyFilter();

120
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance

axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
(axG2antt1.GetOcx() as EXG2ANTTLib.G2antt).FilterBarBackColor = 0x1000000;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Column") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = EXG2ANTTLib.FilterTypeEnum.exBlanks;
axG2antt1.ApplyFilter();

119
How do I change the background color of the control's filterbar
axG2antt1.FilterBarBackColor = Color.FromArgb(240,240,240);
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Column") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = EXG2ANTTLib.FilterTypeEnum.exBlanks;
axG2antt1.ApplyFilter();

118
How do I change the foreground color of the control's filterbar

axG2antt1.FilterBarForeColor = Color.FromArgb(255,0,0);
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Column") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = EXG2ANTTLib.FilterTypeEnum.exBlanks;
axG2antt1.ApplyFilter();

117
How do I change the height of the control's filterbar
axG2antt1.FilterBarHeight = 32;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Column") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = EXG2ANTTLib.FilterTypeEnum.exBlanks;
axG2antt1.ApplyFilter();

116
How do I change the header's foreground color
axG2antt1.ForeColorHeader = Color.FromArgb(255,0,0);
axG2antt1.Columns.Add("Column 1");
axG2antt1.Columns.Add("Column 2");
axG2antt1.Items.AddItem("Item 1");

115
I have a picture on the control's background, the question is how do I draw selection as semi-transparent
(axG2antt1.GetOcx() as EXG2ANTTLib.G2antt).Picture = (axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
axG2antt1.SelBackMode = EXG2ANTTLib.BackModeEnum.exTransparent;
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem("Item 1");
axG2antt1.Items.AddItem("Item 2");

114
It seems that the control uses the TAB key, is there any way to avoid that
axG2antt1.UseTabKey = false;

113
I have FullRowSelect property on False, how do I force the user to select cells only in a specified column
axG2antt1.SelectColumnIndex = 1;
axG2antt1.FullRowSelect = EXG2ANTTLib.CellSelectEnum.exColumnSel;
axG2antt1.SelectColumn = true;
axG2antt1.Columns.Add("Column 1");
axG2antt1.Columns.Add("Column 2");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item 1"),1,"SubItem 1");

112
How do I assign a database to your control, using ADO, ADOR or ADODB objects
axG2antt1.ColumnAutoResize = false;
axG2antt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\Access\\misc.accdb",ADODB.CursorTypeEnum.adOpenStatic,ADODB.LockTypeEnum.adLockOptimistic,0);
axG2antt1.DataSource = (rs as ADODB.Recordset);

111
How do I change the visual appearance effect for the selected item, using EBN
axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
(axG2antt1.GetOcx() as EXG2ANTTLib.G2antt).SelBackColor = 0x1000000;
axG2antt1.SelForeColor = Color.FromArgb(0,0,0);
axG2antt1.ShowFocusRect = false;
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

110
How do I change the colors for the selected item
axG2antt1.SelBackColor = Color.FromArgb(0,0,0);
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

109
How can I hide the frame/rectangle arround the focused item
axG2antt1.BeginUpdate();
axG2antt1.SelBackColor = axG2antt1.BackColor;
axG2antt1.SelForeColor = axG2antt1.ForeColor;
axG2antt1.ShowFocusRect = false;
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);
axG2antt1.Items.AddItem("");
axG2antt1.EndUpdate();

108
How can I change the control's font
axG2antt1.Font.Name = "Tahoma";
axG2antt1.Columns.Add("Column");

107
I can't scroll to the end of the data. What can I do
axG2antt1.ScrollBySingleLine = true;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exRowLines;
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_ItemHeight(var_Items.AddItem(0),13);
axG2antt1.PutItems(axG2antt1.GetItems(0),null);
EXG2ANTTLib.Items var_Items1 = axG2antt1.Items;
	var_Items1.set_ItemHeight(var_Items1.AddItem(1),26);
axG2antt1.PutItems(axG2antt1.GetItems(0),null);
EXG2ANTTLib.Items var_Items2 = axG2antt1.Items;
	var_Items2.set_ItemHeight(var_Items2.AddItem(2),36);
axG2antt1.PutItems(axG2antt1.GetItems(0),null);
EXG2ANTTLib.Items var_Items3 = axG2antt1.Items;
	var_Items3.set_ItemHeight(var_Items3.AddItem(3),48);
axG2antt1.PutItems(axG2antt1.GetItems(0),null);

106
How do I specify the column where the tree lines / hierarchy are shown

axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exGroupLinesAtRoot;
axG2antt1.TreeColumnIndex = 1;
axG2antt1.Columns.Add("Column 1");
axG2antt1.Columns.Add("Column 2");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1.1");
	var_Items.set_CellValue(h,1,"Root 1.2");
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Child 1.1"),1,"Child 1.2");
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Child 2.1"),1,"Child 2.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2.1");
	var_Items.set_CellValue(h,1,"Root 2.2");
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Child 1.1"),1,"Child 1.2");

105
How do I specify the indentation of the child items relative to their parents

axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exGroupLinesAtRoot;
axG2antt1.Indent = 11;
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child");

104
Is there any option to select an item using the right button of the mouse (rclick)
axG2antt1.RClickSelect = true;
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem("Item 1");
axG2antt1.Items.AddItem("Item 2");

103
I have FullRowSelect property on False, how do I select a column
axG2antt1.SelectColumnIndex = 1;
axG2antt1.FullRowSelect = EXG2ANTTLib.CellSelectEnum.exColumnSel;

102
How can I scroll columns one by one, not pixel by pixel
axG2antt1.ContinueColumnScroll = false;
axG2antt1.ColumnAutoResize = false;
(axG2antt1.Columns.Add("1") as EXG2ANTTLib.Column).Width = 128;
(axG2antt1.Columns.Add("2") as EXG2ANTTLib.Column).Width = 128;
(axG2antt1.Columns.Add("3") as EXG2ANTTLib.Column).Width = 128;
(axG2antt1.Columns.Add("4") as EXG2ANTTLib.Column).Width = 128;
(axG2antt1.Columns.Add("5") as EXG2ANTTLib.Column).Width = 128;

101
How can I enable multiple items selection
axG2antt1.SingleSel = false;
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);
axG2antt1.Items.AddItem(2);